package com.masterclient.app.modules.income.model;

import com.google.gson.annotations.SerializedName;

import java.util.List;


public class EcItemDataBean {
    @SerializedName("products")
    public List<ProductsItem> products;
    @SerializedName("categorys")
    public List<CategoryItem> categorys;
    @SerializedName("hot_product")
    public HotProductsItem hotProduct;
    @SerializedName("page")
    public String page;
    @SerializedName("page_size")
    public String pageSize;

    public class ProductsItem{
        @SerializedName("product_id")
        public String productId;
        @SerializedName("name")
        public String name;
        @SerializedName("image")
        public String image;
        @SerializedName("category_id")
        public String categoryId;
        @SerializedName("author")
        public String author;
        @SerializedName("product_url")
        public String productUrl;
    }

    public class CategoryItem{
        @SerializedName("category_id")
        public String categoryId;
        @SerializedName("category_name")
        public String categoryName;
        public boolean isSelect;
    }

    public class HotProductsItem{
        @SerializedName("name")
        public String name;
        @SerializedName("image")
        public String image;
        @SerializedName("author")
        public String author;
        @SerializedName("product_url")
        public String productUrl;
    }
}
